#pragma once
#include "afxwin.h"


// CFoodTypeDlg dialog

class CFoodTypeDlg : public CDialog
{
	DECLARE_DYNAMIC(CFoodTypeDlg)

public:
	CFoodTypeDlg(CWnd* pParent = NULL);   // standard constructor
	virtual ~CFoodTypeDlg();
	void initialFoodType(const vector<CString>& foodType){ m_vFoodType = foodType;};
	const vector<CString>& getFoodType()const{return m_vFoodType;};

// Dialog Data
	enum { IDD = IDD_FOODTYPE };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	vector<CString> m_vFoodType;

	DECLARE_MESSAGE_MAP()
public:
	virtual BOOL OnInitDialog();
public:
	CListBox m_FoodTypeList;
public:
	afx_msg void OnBnClickedAddfoodtype();
public:
	afx_msg void OnBnClickedEdittype();
public:
	afx_msg void OnBnClickedDeltype();
};
